
//
//  ViewController2.swift
//  GuideStudy
//
//  Created by tianqi on 2017/11/9.
//  Copyright © 2017年 david.com. All rights reserved.
//



import UIKit

class ViewController2: UIViewController {
    
    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view, typically from a nib.
        
        let blur = UIBlurEffect(style: UIBlurEffectStyle.light)
        let visual = UIVisualEffectView(effect: blur)
        visual.frame = view.bounds
        view.insertSubview(visual, at: 0)
    }
    
   
    
    @IBAction func buttonAction(_ sender: Any) {
        
        dismiss(animated: true, completion: nil)
    }
    
}

